* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-clip: padding-box;
    -webkit-appearance: none;
}

html,body {
    margin: 0;
    padding: 0;
}
a {
    color: var(--black);
}
a:active,a:focus,a:hover {
    color: var(--primary);
}
.flex {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    -webkit-box-orient: horizontal;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-center {
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-justify-content: center;
    -moz-box-justify-content: center;
    -ms-flex-justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    justify-content: center;
}
.align-c {
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }
  
  .just-c {
    -webkit-box-justify-content: center;
    -moz-box-justify-content: center;
    -ms-flex-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
  }
  
  .just-between {
    -webkit-box-justify-content: space-between;
    -moz-box-justify-content: space-between;
    -ms-flex-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  
  .just-around {
    -webkit-box-justify-content: space-around;
    -moz-box-justify-content: space-around;
    -ms-flex-justify-content: space-around;
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }
  .flex1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    width: 0%;
  }
  
  .flex2 {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    flex: 2;
    width: 0%;
  }
  
  .flex3 {
    -webkit-box-flex: 3;
    -webkit-flex: 3;
    flex: 3;
    width: 0%;
  }
  
  .flex4 {
    -webkit-box-flex: 4;
    -webkit-flex: 4;
    flex: 4;
    width: 0%;
  }
/*文字超出隐藏*/
.ellipsis{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.line-clamp1,
.line-clamp2,
.line-clamp3,
.line-clamp4,
.line-clamp5{overflow: hidden;text-overflow: ellipsis; display: -webkit-box;-webkit-box-orient: vertical;}
.line-clamp1{-webkit-line-clamp: 1;}
.line-clamp2{-webkit-line-clamp: 2;}
.line-clamp3{-webkit-line-clamp: 3;}
.line-clamp4{-webkit-line-clamp: 4;}
.line-clamp5{-webkit-line-clamp: 5;}
.line-clamp2 {
    line-clamp: 2;
}
.clearfix {
    clear: both;
    overflow: hidden;
    &::before,
    &::after {
        content: '';
    }
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.tl {
    text-align: left;
}
.tc {
    text-align: center;
}
.w1200 {
    max-width: 1200px;
    margin: auto;
}
::-webkit-scrollbar {
    width: 10px;
    /*滚动条宽度*/
    height: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    /*滚动条圆角*/
    -webkit-border-radius: 5px;
    /*兼容圆角属性*/
    background-color: #c3c3c3;
    /*滚动条颜色*/
  }
  
  ::-webkit-scrollbar-track {
    background-color: transparent;
    /*滚动条的背景颜色*/
  }